package com.nmsl.nurse.service.impl;



import com.nmsl.nurse.domain.MEmployee;
import com.nmsl.nurse.mapper.MEmployeeMapper;
import com.nmsl.nurse.service.IMEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MEmployeeServiceImpl implements IMEmployeeService {

    @Autowired
    private MEmployeeMapper mEmployeeMapper;
    @Override
    public MEmployee selectEmployeeByEmployeeId(Long employeeId) {
        return mEmployeeMapper.selectByPrimaryKey(Long.valueOf(employeeId));
    }

    @Override
    public List<MEmployee> selectall() {
        return mEmployeeMapper.selectAll();
    }

}
